package com.android.duininsuoai.adapt;

import com.android.duininsuoai.model.member.CashRecordData;
import com.android.duininsuoai.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by Administrator on 2016/8/10.
 */
public class listMineMoneyRecordAdapt extends BaseQuickAdapter<CashRecordData.DataBean.ListBean, BaseViewHolder> {

    public listMineMoneyRecordAdapt(int layoutResId, List<CashRecordData.DataBean.ListBean> data) {
        super(layoutResId, data);


    }

    @Override
    protected void convert(BaseViewHolder holder, CashRecordData.DataBean.ListBean listBean) {


        holder.setText(R.id.item_list_mine_money_record_time, listBean.getAddtime());
        holder.setText(R.id.item_list_mine_money_record_price, "￥" + listBean.getAmount());
        holder.setText(R.id.item_list_mine_money_record_stauts, listBean.getStatus_name());
    }


}
